/**
 * elancom Corporation copy right 2012 - 2015  
 *   
 * $Header$
 * $Id$
 * $Author$
 * $Date$
 * $Revision$
 */
package com.elancom.framework.dao.internal;

import java.util.Map;

import com.elancom.framework.dao.SelectCompiled;

/**
 * @author elancom
 * @date 2012-8-24
 */
public class SelectCompiledImpl implements SelectCompiled {
	private String selectString;

	private String countString;

	private boolean limit;

	private int firstResult;

	private int curPage = -1;

	private int maxResults;

	private Map<String, Object> parameterMap;

	/**
	 * @return the selectString
	 */
	public String getSelectString() {
		return selectString;
	}

	/**
	 * @param selectString
	 *            the selectString to set
	 */
	public void setSelectString(String selectString) {
		this.selectString = selectString;
	}

	/**
	 * @return the countString
	 */
	public String getCountString() {
		return countString;
	}

	/**
	 * @param countString
	 *            the countString to set
	 */
	public void setCountString(String countString) {
		this.countString = countString;
	}

	/**
	 * @return the limit
	 */
	public boolean isLimit() {
		return limit;
	}

	/**
	 * @param limit
	 *            the limit to set
	 */
	public void setLimit(boolean limit) {
		this.limit = limit;
	}

	/**
	 * @return the firstResult
	 */
	public int getFirstResult() {
		return firstResult;
	}

	/**
	 * @param firstResult
	 *            the firstResult to set
	 */
	public void setFirstResult(int firstResult) {
		this.firstResult = firstResult;
	}

	/**
	 * @return the maxResults
	 */
	public int getMaxResults() {
		return maxResults;
	}

	/**
	 * @param maxResults
	 *            the maxResults to set
	 */
	public void setMaxResults(int maxResults) {
		this.maxResults = maxResults;
	}

	/**
	 * @return the parameterMap
	 */
	public Map<String, Object> getParameterMap() {
		return parameterMap;
	}

	/**
	 * @param parameterMap
	 *            the parameterMap to set
	 */
	public void setParameterMap(Map<String, Object> parameterMap) {
		this.parameterMap = parameterMap;
	}

	/*
	 * (non-Javadoc)
	 * @see com.elancom.framework.dao.SelectCompiled#getCurPage()
	 */
	@Override
	public int getCurPage() {
		return curPage;
	}

	/**
	 * @param curPage
	 *            the curPage to set
	 */
	public void setCurPage(int curPage) {
		this.curPage = curPage;
	}

}
